package Facade;

import Facade.manager.CacheManager;
import Facade.manager.DatabaseManager;
import Facade.manager.WebServerManager;

/**
 * @author chengjunjie
 * @date 2025-09-25
 */

public class ApplicationFacade {
    private final CacheManager cacheManager = new CacheManager();
    private final DatabaseManager databaseManager = new DatabaseManager();

    private final WebServerManager webServerManager = new WebServerManager();

    public void init() {
        cacheManager.initCache();
        databaseManager.startDbCluster();
        webServerManager.loadWebApp();
    }
}
